package cn.chimade.mom.dict.maintenance.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 数据字典明细表
 * </p>
 *
 * @author Miller
 * @since 2017-07-18
 */
@TableName("sys_dic")
public class SysDic implements Serializable  {
	@TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId
	private Long id;
	@TableField("type_")
	private String type;
	@TableField("code_")
	private String code;
	@TableField("code_text")
	private String codeText;
	@TableField("parent_type")
	private String parentType;
	@TableField("parent_code")
	private String parentCode;
	@TableField("sort_no")
	private Integer sortNo;
	@TableField("editable_")
	private Integer editable;
	@TableField("enable_")
	private Integer enable;
	@TableField("remark_")
	private String remark;
	@TableField("create_by")
	private Long createBy;
	@TableField("create_time")
	private Date createTime;
	@TableField("update_by")
	private Long updateBy;
	@TableField("update_time")
	private Date updateTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCodeText() {
		return codeText;
	}

	public void setCodeText(String codeText) {
		this.codeText = codeText;
	}

	public String getParentType() {
		return parentType;
	}

	public void setParentType(String parentType) {
		this.parentType = parentType;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public Integer getEditable() {
		return editable;
	}

	public void setEditable(Integer editable) {
		this.editable = editable;
	}

	public Integer getEnable() {
		return enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	 

	@Override
	public String toString() {
		return "SysDic{" +
			"id=" + id +
			", type=" + type +
			", code=" + code +
			", codeText=" + codeText +
			", parentType=" + parentType +
			", parentCode=" + parentCode +
			", sortNo=" + sortNo +
			", editable=" + editable +
			", enable=" + enable +
			", remark=" + remark +
			", createBy=" + createBy +
			", createTime=" + createTime +
			", updateBy=" + updateBy +
			", updateTime=" + updateTime +
			"}";
	}
}
